<template>
    <div class="container">
        <div class="card">
            <el-breadcrumb separator="/" class="card-body">
                <el-breadcrumb-item :to="{ path: '/AdminHome' }"><i class="el-icon-location"></i>首页</el-breadcrumb-item>
                <el-breadcrumb-item :to="{ path: '/HardwareManagement' }">设备管理</el-breadcrumb-item>
                <el-breadcrumb-item>{{ this.$route.meta.title }}</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <div class="card">
            <div class="card-header">
                设备操作日志
                <div class="f-right">
                    <el-button type="warning" icon="el-icon-document" @click="toLog">导出日志</el-button>
                </div>
            </div>
            <div class="card-body">
                <el-table stripe :data="tableData" style="width: 100%">
                    <el-table-column prop="name" label="责任人" width="220">
                    </el-table-column>
                    <el-table-column prop="time" label="操作时间" width="200">
                    </el-table-column>
                    <el-table-column prop="number" label="操作编码" width="200">
                    </el-table-column>
                    <el-table-column prop="assCode" label="设备编码" width="200">
                    </el-table-column>
                    <el-table-column prop="state" label="操作状态" width="200">
                    </el-table-column>
                    <el-table-column prop="content" label="操作内容">
                    </el-table-column>
                </el-table>
                <div class="page-wrap">
                    <el-pagination background layout="prev, pager, next" :total="1000"></el-pagination>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
  name: "HardwareLog",
  data() {
    return {
      tableData: [
        {
          name: "二喵",
          time: "2019/03/23 18:00",
          number: "zc-923212",
          assCode: "zc-213123",
          state: "成功",
          content: "导入了设备",
        },
        {
          name: "郑丽丽",
          time: "2019/03/23 18:00",
          number: "zc-923212",
          assCode: "zc-213123",
          state: "成功",
          content: "导入了设备",
        },
        {
          name: "郑丽丽",
          time: "2019/03/23 18:00",
          number: "zc-923212",
          assCode: "zc-213123",
          state: "成功",
          content: "导入了设备",
        },
        {
          name: "郑丽丽",
          time: "2019/03/23 18:00",
          number: "zc-923212",
          assCode: "zc-213123",
          state: "成功",
          content: "导入了设备",
        },
        {
          name: "郑丽丽",
          time: "2019/03/23 18:00",
          number: "zc-923212",
          assCode: "zc-213123",
          state: "成功",
          content: "导入了设备",
        }
      ]
    };
  },
  methods: {
  }
};
</script>
